package InterfaceDemo2;

// 投影仪类: Projector.java
public class Projector implements Device {
    private String brand;

    public Projector(String brand) {
        this.brand = brand;
    }


    public void powerOn() {
        System.out.println(brand + "投影仪开机，正在预热...");
    }


    public void powerOff() {
        System.out.println(brand + "投影机关机，散热中...");
    }


    public void repair() {
        System.out.println(brand + "投影仪报修：可能画面模糊或无法投影");
    }
}